package cn.snowheart.strategy.spring.handler.impl;

import cn.snowheart.strategy.spring.annotation.HandlerType;
import cn.snowheart.strategy.spring.entity.OrderDTO;
import cn.snowheart.strategy.spring.enums.OrderType;
import cn.snowheart.strategy.spring.handler.IOrderHandler;
import org.springframework.stereotype.Component;

/**
 * @author liuwanxiang
 * @version 2019/06/24
 */
@Component
@HandlerType(OrderType.NORMAL)
public class NormalOrderHandler implements IOrderHandler {
    @Override
    public String handle(OrderDTO order) {
        return "普通类型订单处理结果";
    }
}
